* Replication File for "Shifting Power, Commitment Problems, and Preventive War"
* Sam R. Bell and Jesse C. Johnson
* 10/24/14

use "BellJohnsonISQrep\BellJohnsonISQrepDDyadic.dta", clear

* Table 2

	relogit war powershift 
	relogit war powershift lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3
	relogit war2 powershift 
	relogit war2 powershift lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 	
	
* Table A2

	relogit war2 powershift if war_num~=106 & war_num~=139
	relogit war2 powershift lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 if war_num~=106 & war_num~=139	

* Table A3

	relogit war powershiftM 
	relogit war powershiftM lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3
	relogit war2 powershiftM 
	relogit war2 powershiftM lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 	
	
* Table A4

	relogit war powershift3 
	relogit war powershift3 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3
	relogit war2 powershift3 
	relogit war2 powershift3 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 	
	
* Table A5

	relogit war powershift5 
	relogit war powershift5 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3
	relogit war2 powershift5 
	relogit war2 powershift5 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 	
	
* Table A6
	
	relogit war dpowershift75 
	relogit war dpowershift75 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3
	relogit war2 dpowershift75 
	relogit war2 dpowershift75 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 	
	
* Table A7

	relogit war dpowershift90 
	relogit war dpowershift90 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3
	relogit war2 dpowershift90 
	relogit war2 dpowershift90 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 	
	
* Table A8

	relogit war powershift iwin
	relogit war powershift iwin lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3
	relogit war2 powershift iwin 
	relogit war2 powershift iwin lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 	

* Table A9

	relogit war powershift iwin iwin2
	relogit war powershift iwin iwin2 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3
	relogit war2 powershift iwin iwin2 
	relogit war2 powershift iwin iwin2 lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 	
	
* Table A10

	xtmelogit war powershift || ddyad:
	xtmelogit war powershift lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 || ddyad:
	xtmelogit war2 powershift || ddyad:
	xtmelogit war2 powershift lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 || ddyad: 	
	
* Table A11

	logit war powershift 
	logit war powershift lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3
	logit war2 powershift 
	logit war2 powershift lndistance contig dem s_un_glo peaceyrs peaceyrs2 peaceyrs3 	
	
